<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<ul class="message-l">
    <div class="topMessage">
        <div class="menu-hd">

                <c:if test="${empty sessionScope.name}">
                    <a href="/login.jsp" target="_top" class="h"> 亲请登录</a>  &nbsp;&nbsp;&nbsp;&nbsp;<a href="/register.jsp" target="_top">免费注册</a>
                </c:if>
                <c:if test="${!empty sessionScope.name}">
                    欢迎${sessionScope.name}光临 &nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=path %>/user/logout" class="login_order">注销</a>
                </c:if>


        </div>
    </div>
</ul>
<ul class="message-r">
    <div class="topMessage home">
        <div class="menu-hd"><a href="/home.jsp" target="_top" class="h">商城首页</a></div>
    </div>
    <div class="topMessage my-shangcheng">
        <div class="menu-hd MyShangcheng"><a href="<%=path %>/info/show" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
    </div>
    <div class="topMessage mini-cart">
        <div class="menu-hd"><a id="mc-menu-hd" href="<%=path %>/cart/list" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h"></strong></a></div>
    </div>
    <%--<div class="topMessage favorite">
        <div class="menu-hd"><a href="#" target="_top"><i class="am-icon-heart am-icon-fw"></i><span>收藏夹</span></a></div>
    </div>--%>
</ul>

<div class="clear"></div>

